<?php
	switch ($reemplazo["id"]) {
		case "AMB_ALTILLO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_ARCHIVO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_AZOTE":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_BANIO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_BAR":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_BAULERA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_COCHERA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_COCINA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_DEPEDENCIA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_DEP_SERV":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_DEPOSITO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_ENTREPISO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_GALPON":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_GARAGE":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_JARDIN":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_OFICINA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_PATIO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_SALA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_SOTANO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_TERRAZA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_TOILETTE":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "AMB_VESTUARIO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		default: $html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$reemplazo["texto"],$html_page); break;
	}
?>